<%--
  Created by IntelliJ IDEA.
  User: 刘弗莫尔
  Date: 2021/10/14
  Time: 20:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>showupload.jsp</title>
</head>
<body>
<hr/>
上传1：
<form action="${pageContext.request.contextPath}/file/upload"
      enctype="multipart/form-data" method="post">
    <input type="file" name="file"/>
    <input type="submit" value="上传1">
</form>
<hr/>
上传2：
<form action="${pageContext.request.contextPath}/file/upload2"
      enctype="multipart/form-data" method="post">
    <input type="file" name="file"/>
    <input type="submit" value="上传2">
</form>
<hr/>
<a href="${pageContext.request.contextPath}/file/download">点击下载</a>
</body>
</html>
